#ifndef __XMLOSTREAM
#define __XMLOSTREAM
#include "XmlData.h"
#include "XmlBasicStream.h"
#include <cstdio>
#include <ctime>

namespace xml
{
	class XmlOutputStream : XmlBasicStream
	{
	public:
		XmlOutputStream(void);
		~XmlOutputStream(void);
		XmlOutputStream(const char *);
		XmlOutputStream operator<<(XmlData &);
	protected:
		std::FILE *outputFile;
		void writeXmlNode(XmlNode *node);
	};
}

#endif